﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using SSP;

namespace SSPDemo
{
    class Chariot : SSPCharacter
    {
        public Chariot()
        {
            idle = new SSPSprite("soldier_idle", 2, 2, 0, .1, true);
            walk = new SSPSprite("soldier_idle", 2, 2, 0, .1, true);
            attack = new SSPSprite("soldier_idle", 2, 2, 0, .1, false);
            dead = new SSPSprite("soldier_idle", 2, 2, 0, .1, false);

            idle.visible = true;
            walk.visible = false;
            attack.visible = false;
            dead.visible = false;

            idle.isSpecial = true;
            walk.isSpecial = true;
            attack.isSpecial = true;
            dead.isSpecial = true;

            idle.anchorPoint = new Vector2(idle.anchorPoint.X, idle.height);
            walk.anchorPoint = new Vector2(walk.anchorPoint.X, walk.height);
            attack.anchorPoint = new Vector2(attack.anchorPoint.X, attack.height);
            dead.anchorPoint = new Vector2(idle.anchorPoint.X, dead.height);

            range = 300;
            damage = 1;
            health = 1;
            type = "chariot";
        }

        public override void draw()
        {
            base.draw();
        }

        public override void update()
        {
            base.update();
        }
    }
}
